Optimal. Leaf size=99 \[ 2 b m n x-b n x \log \left (f x^m\right )-\frac {b d m n \log (d+e x)}{e}-x \left (m-\log \left (f x^m\right )\right ) \left (a+b \log \left (c (d+e x)^n\right )\right )+\frac {b d n \log \left (f x^m\right ) \log \left (1+\frac {e x}{d}\right )}{e}+\frac {b d m n \text {Li}_2\left (-\frac {e x}{d}\right )}{e} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.07, antiderivative size = 99, normalized size of antiderivative = 1.00, number of steps
used = 8, number of rules used = 6, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.286, Rules used = {2469, 45, 2393,
2332, 2354, 2438} \begin {gather*} \frac {b d m n \text {PolyLog}\left (2,-\frac {e x}{d}\right )}{e}-x \left (m-\log \left (f x^m\right )\right ) \left (a+b \log \left (c (d+e x)^n\right )\right )+\frac {b d n \log \left (\frac {e x}{d}+1\right ) \log \left (f x^m\right )}{e}-\frac {b d m n \log (d+e x)}{e}-b n x \log \left (f x^m\right )+2 b m n x \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rule 2332
Rule 2354
Rule 2393
Rule 2438
Rule 2469
Rubi steps
\begin {align*} \int \log \left (f x^m\right ) \left (a+b \log \left (c (d+e x)^n\right )\right ) \, dx &=-x \left (m-\log \left (f x^m\right )\right ) \left (a+b \log \left (c (d+e x)^n\right )\right )-(b e n) \int \frac {x \log \left (f x^m\right )}{d+e x} \, dx+(b e m n) \int \frac {x}{d+e x} \, dx\\ &=-x \left (m-\log \left (f x^m\right )\right ) \left (a+b \log \left (c (d+e x)^n\right )\right )-(b e n) \int \left (\frac {\log \left (f x^m\right )}{e}-\frac {d \log \left (f x^m\right )}{e (d+e x)}\right ) \, dx+(b e m n) \int \left (\frac {1}{e}-\frac {d}{e (d+e x)}\right ) \, dx\\ &=b m n x-\frac {b d m n \log (d+e x)}{e}-x \left (m-\log \left (f x^m\right )\right ) \left (a+b \log \left (c (d+e x)^n\right )\right )-(b n) \int \log \left (f x^m\right ) \, dx+(b d n) \int \frac {\log \left (f x^m\right )}{d+e x} \, dx\\ &=2 b m n x-b n x \log \left (f x^m\right )-\frac {b d m n \log (d+e x)}{e}-x \left (m-\log \left (f x^m\right )\right ) \left (a+b \log \left (c (d+e x)^n\right )\right )+\frac {b d n \log \left (f x^m\right ) \log \left (1+\frac {e x}{d}\right )}{e}-\frac {(b d m n) \int \frac {\log \left (1+\frac {e x}{d}\right )}{x} \, dx}{e}\\ &=2 b m n x-b n x \log \left (f x^m\right )-\frac {b d m n \log (d+e x)}{e}-x \left (m-\log \left (f x^m\right )\right ) \left (a+b \log \left (c (d+e x)^n\right )\right )+\frac {b d n \log \left (f x^m\right ) \log \left (1+\frac {e x}{d}\right )}{e}+\frac {b d m n \text {Li}_2\left (-\frac {e x}{d}\right )}{e}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.06, size = 116, normalized size = 1.17 \begin {gather*} \frac {\log \left (f x^m\right ) \left (b d n \log (d+e x)+e x \left (a-b n+b \log \left (c (d+e x)^n\right )\right )\right )-m \left (a e x-2 b e n x+b d n (1+\log (x)) \log (d+e x)+b e x \log \left (c (d+e x)^n\right )-b d n \log (x) \log \left (1+\frac {e x}{d}\right )\right )+b d m n \text {Li}_2\left (-\frac {e x}{d}\right )}{e} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 9 vs. order
4.
time = 0.68, size = 1724, normalized size = 17.41
method | result | size |
risch | \(\text {Expression too large to display}\) | \(1724\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.33, size = 140, normalized size = 1.41 \begin {gather*} -{\left ({\left (\log \left (x e + d\right ) \log \left (-\frac {x e + d}{d} + 1\right ) + {\rm Li}_2\left (\frac {x e + d}{d}\right )\right )} b d n e^{\left (-1\right )} + {\left (b d n \log \left (x e + d\right ) + b x e \log \left ({\left (x e + d\right )}^{n}\right ) - {\left (b {\left (2 \, n - \log \left (c\right )\right )} - a\right )} x e\right )} e^{\left (-1\right )}\right )} m + {\left ({\left (d e^{\left (-2\right )} \log \left (x e + d\right ) - x e^{\left (-1\right )}\right )} b n e + b x \log \left ({\left (x e + d\right )}^{n} c\right ) + a x\right )} \log \left (f x^{m}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \ln \left (f\,x^m\right )\,\left (a+b\,\ln \left (c\,{\left (d+e\,x\right )}^n\right )\right ) \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________